#ifndef CET_H
#define CET_H
-#include <stddef.h> // for size_t
+#include <cstddef> // for size_t
#define CET_ERROR 1
#define CET_SUCCESS 0
#include "csv_util.h"
#if CSVFMTS_ENABLED
-#include <math.h>
+#include <cmath>
#include "jeeps/gpsmath.h"
-#include <stdlib.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
#define MYNAME "CompeGPS"
#ifndef DEFS_H_INCLUDED_
#define DEFS_H_INCLUDED_
-#include <stdint.h>
+#include <cstdint>
#if HAVE_CONFIG_H
#include "config.h"
// that can't back out tracefully without bludgeoning most of the
// (Mac|Lin|Win) x (USB|Serial) matrix. Since we don't *really* want
// to progress any further, we just longjump back to the caller...
-#include <setjmp.h>
+#include <csetjmp>
extern jmp_buf gdx_jmp_buf;
#include "strptime.h"
#include <cmath>
-#include <stdlib.h> // qsort
+#include <cstdlib> // qsort
#define MYNAME "garmin_txt"
#ifndef __GBSER_H
#define __GBSER_H
-#include <stddef.h> // for size_t
+#include <cstddef> // for size_t
#define gbser_OK 0
#define gbser_NOTHING -1
#elif defined HAVE_NANOSLEEP
-#include <time.h>
+#include <ctime>
void
gb_sleep(unsigned long microseconds)
{
/* Created by "tools/createGeoidGrid 1.0 int8_t" using GeographicLib utility GeoidEval with egm96-5. */
-#include <stdint.h>
+#include <cstdint>
#define GEOID_GRID_DEG 1.0
#define GEOID_SCALE 1.0
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <stdio.h>
+#include <cstdio>
#include "gpsdevice.h"
/* This structure is a bit funny looking to avoid variable length
#include "../defs.h"
#include "gpsport.h"
-#include <time.h>
+#include <ctime>
#define FRAMING_ERROR -1
#define PROTOCOL_ERROR -2
#include "gps.h"
-#include <time.h>
+#include <ctime>
int32 GPS_Command_Off(const char* port);
#include "gps.h"
-#include <stdio.h>
-#include <time.h>
+#include <cstdio>
+#include <ctime>
void GPS_Fmt_Print_Time(time_t Time, FILE* outf);
void GPS_Fmt_Print_Position(double lat, double lon, FILE* outf);
#ifndef NAVILINK_H_INCLUDED_
#define NAVILINK_H_INCLUDED_
-#include <time.h>
+#include <ctime>
#include "defs.h"
#define SBP_RECORD_LEN 32
*/
-#include <time.h>
+#include <ctime>
#include <QtCore/QtGlobal>
#include <QtCore/QDateTime>
#include <QtCore/QFile>
#include <QtCore/QIODevice>
-#include <stdio.h>
+#include <cstdio>
#include "defs.h"
// Mimic gbfile open services
#include <QtCore/QTextStream>
#include <QtCore/QFile>
-#include <stdlib.h> //exit()
+#include <cstdlib> //exit()
class Warning {
public:
#include "jeeps/gpsmath.h"
#include "grtcirc.h"
-#include <time.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <ctime>
+#include <cstdio>
+#include <cstdlib>
#define MYNAME "stmsdf"
#include "csv_util.h"
#include "cet_util.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cctype>
+#include <cstdio>
+#include <cstdlib>
static gbfile* fin, *fout;
static route_head* track, *route;
#if FILTERS_ENABLED
-#include <ctype.h>
+#include <cctype>
#define MYNAME "transform"